<?php $view->extend('::base.html.php') ?>
<?php echo $view['actions']->render('AcmeTest:Index:listMenu', array('listid' => $listid, 'routeName' => $app->getRequest()->attributes->get('_route'))); ?>
<?php echo $view->render('RMDAccountBundle::flashMessages.html.php') ?>
<?php 
	foreach ($groupSets as $groupSet) :
?>
<div>
	<a href="<?php echo $view['router']->generate('account_groups_edit', array('id' => $groupSet->getId())); ?>"><?php echo $view->escape($groupSet->getTitle()); ?></a>
	&nbsp;
	<a href="<?php echo $view['router']->generate('account_groups_delete', array('id' => $groupSet->getId())); ?>">&times;</a>
</div>

<?php	
	endforeach;
?>
<div>
	<a class="btn" href="<?php echo $view['router']->generate('account_groups_add', array('listid' => $listid)); ?>">New group</a>
</div>